package com.hutao.manage.constant;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 常量
 * 
 * @author 90669
 *
 */
public class Constant {

	// 导出默认分页
	public static final int PAGE_NO = 1;
	public static final int PAGE_SIZE = 10000;

	// 患者基本信息表
	public static final String[] PATIENT_INFO_HEADER = { "PATIENT_ID", "VISIT_SN", "VISIT_TYPE", "VISIT_CARD_NO",
			"MEDICAL_RECORD_NO", "outpatient_no", "name", "gender", "date_of_birth", "occupation_code",
			"occupation_name", "nationality", "ethnic_group", "education", "marital_status", "newbron_mark",
			"certificate_type", "certificate_no", "health_card_type", "health_card_no", "insurance_type",
			"insurance_no", "residence_province", "residence_city", "residence_county", "home_address", "phone_no",
			"abo_type", "rh_type", "extend_data1", "extend_data2", "record_status" };

	// 患者药物不良反应 (adr_info)
	public static final String[] ADR_INFO_HEADER = { "patient_id", "visit_sn", "visit_type", "medical_record_no",
			"outpatient_no", "name", "adr_event_sn", "adr_report_status", "adr_report_type", "adr_original_disease",
			"adr_disease_influence", "adr_family_status", "adr_post_status", "adr_post_other", "adr_event_name",
			"adr_event_time", "adr_event_content", "adr_event_result", "adr_stop_status", "adr_reuse_status",
			"suspect_drug_approval_num", "suspect_drug_code", "suspect_drug_com_name", "suspect_drug_gen_name",
			"suspect_drug_manufac", "suspect_drug_batch_num", "suspect_drug_usage", "suspect_drug_method",
			"suspect_drug_start", "suspect_drug_end", "suspect_drug_reason", "merge_drug_approval_num",
			"merge_drug_code", "merge_drug_com_name", "merge_drug_gen_name", "merge_drug_manufac",
			"merge_drug_batch_num", "merge_drug_usage", "merge_drug_method", "merge_drug_start", "merge_drug_end",
			"merge_drug_reason", "adr_reporter_appraise", "adr_report_unit_appraise", "adr_report_time", "extend_data1",
			"extend_data2", "record_status" };

	// 病案首页
	public static final String[] MEDICAL_RECORD_HOMEPAGE_HEADER = {
			"A01","A02","A48","A49","B12","B15","A47","A46C","A11","A12C","A13","A14","A15C","A21C","A38C","A19C","A20",
			"A22","A23C","A24","A25C","A26","A27","A28C","A29","A30","A31C","A32","A33C","A34","A35","B11C","B13C","B14",
			"B21C","B16C","B17","B20","C01C","C02N","C03C","C04N","C05C",
			
			"C06x01C","C06x02C","C06x03C","C06x04C","C06x05C","C06x06C","C06x07C","C06x08C","C06x09C","C06x10C",
			"C06x11C","C06x12C","C06x13C","C06x14C","C06x15C","C06x16C","C06x17C","C06x18C","C06x19C","C06x20C",
			"C06x21C","C06x22C","C06x23C","C06x24C","C06x25C","C06x26C","C06x27C","C06x28C","C06x29C","C06x30C",
			"C06x31C","C06x32C","C06x33C","C06x34C","C06x35C","C06x36C","C06x37C","C06x38C","C06x39C","C06x40C",
			
			"C07x01N","C07x02N","C07x03N","C07x04N","C07x05N","C07x06N","C07x07N","C07x08N","C07x09N","C07x10N",
			"C07x11N","C07x12N","C07x13N","C07x14N","C07x15N","C07x16N","C07x17N","C07x18N","C07x19N","C07x20N",
			"C07x21N","C07x22N","C07x23N","C07x24N","C07x25N","C07x26N","C07x27N","C07x28N","C07x29N","C07x30N",
			"C07x31N","C07x32N","C07x33N","C07x34N","C07x35N","C07x36N","C07x37N","C07x38N","C07x39N","C07x40N",
			
			"C08x01C","C08x02C","C08x03C","C08x04C","C08x05C","C08x06C","C08x07C","C08x08C","C08x09C","C08x10C",
			"C08x11C","C08x12C","C08x13C","C08x14C","C08x15C","C08x16C","C08x17C","C08x18C","C08x19C","C08x20C",
			"C08x21C","C08x22C","C08x23C","C08x24C","C08x25C","C08x26C","C08x27C","C08x28C","C08x29C","C08x30C",
			"C08x31C","C08x32C","C08x33C","C08x34C","C08x35C","C08x36C","C08x37C","C08x38C","C08x39C","C08x40C",
			
			"C09C","C10N","C11","C12C","C13N","C24C","C25","B22","B23","B24","B25","B26","B27","B28","B29","B30C","B31","B32","B33",
			"C34C","C26C","C27C","C14x01C","C15x01N","C16x01","C17x01","C18x01","C19x01","C20x01","C21x01C","C22x01C","C23x01",
			"C35x01C","C35x02C","C35x03C","C35x04C","C35x05C","C35x06C","C35x07C","C35x08C","C35x09C","C35x10C",
			"C35x11C","C35x12C","C35x13C","C35x14C","C35x15C","C35x16C","C35x17C","C35x18C","C35x19C","C35x20C",
			"C35x21C","C35x22C","C35x23C","C35x24C","C35x25C","C35x26C","C35x27C","C35x28C","C35x29C","C35x30C",
			"C35x31C","C35x32C","C35x33C","C35x34C","C35x35C","C35x36C","C35x37C","C35x38C","C35x39C","C35x40C",
			
			"C36x01N","C36x02N","C36x03N","C36x04N","C36x05N","C36x06N","C36x07N","C36x08N","C36x09N","C36x10N",
			"C36x11N","C36x12N","C36x13N","C36x14N","C36x15N","C36x16N","C36x17N","C36x18N","C36x19N","C36x20N",
			"C36x21N","C36x22N","C36x23N","C36x24N","C36x25N","C36x26N","C36x27N","C36x28N","C36x29N","C36x30N",
			"C36x31N","C36x32N","C36x33N","C36x34N","C36x35N","C36x36N","C36x37N","C36x38N","C36x39N","C36x40N",
			
			"C37x01","C37x02","C37x03","C37x04","C37x05","C37x06","C37x07","C37x08","C37x09","C37x10",
			"C37x11","C37x12","C37x13","C37x14","C37x15","C37x16","C37x17","C37x18","C37x19","C37x20",
			"C37x21","C37x22","C37x23","C37x24","C37x25","C37x26","C37x27","C37x28","C37x29","C37x30",
			"C37x31","C37x32","C37x33","C37x34","C37x35","C37x36","C37x37","C37x38","C37x39","C37x40",
			
			"C38x01","C38x02","C38x03","C38x04","C38x05","C38x06","C38x07","C38x08","C38x09","C38x10",
			"C38x11","C38x12","C38x13","C38x14","C38x15","C38x16","C38x17","C38x18","C38x19","C38x20",
			"C38x21","C38x22","C38x23","C38x24","C38x25","C38x26","C38x27","C38x28","C38x29","C38x30",
			"C38x31","C38x32","C38x33","C38x34","C38x35","C38x36","C38x37","C38x38","C38x39","C38x40",
			
			"C39x01","C39x02","C39x03","C39x04","C39x05","C39x06","C39x07","C39x08","C39x09","C39x10",
			"C39x11","C39x12","C39x13","C39x14","C39x15","C39x16","C39x17","C39x18","C39x19","C39x20",
			"C39x21","C39x22","C39x23","C39x24","C39x25","C39x26","C39x27","C39x28","C39x29","C39x30",
			"C39x31","C39x32","C39x33","C39x34","C39x35","C39x36","C39x37","C39x38","C39x39","C39x40",
			
			"C40x01","C40x02","C40x03","C40x04","C40x05","C40x06","C40x07","C40x08","C40x09","C40x10",
			"C40x11","C40x12","C40x13","C40x14","C40x15","C40x16","C40x17","C40x18","C40x19","C40x20",
			"C40x21","C40x22","C40x23","C40x24","C40x25","C40x26","C40x27","C40x28","C40x29","C40x30",
			"C40x31","C40x32","C40x33","C40x34","C40x35","C40x36","C40x37","C40x38","C40x39","C40x40",
			
			"C41x01","C41x02","C41x03","C41x04","C41x05","C41x06","C41x07","C41x08","C41x09","C41x10",
			"C41x11","C41x12","C41x13","C41x14","C41x15","C41x16","C41x17","C41x18","C41x19","C41x20",
			"C41x21","C41x22","C41x23","C41x24","C41x25","C41x26","C41x27","C41x28","C41x29","C41x30",
			"C41x31","C41x32","C41x33","C41x34","C41x35","C41x36","C41x37","C41x38","C41x39","C41x40",
			
			"C42x01C","C42x02C","C42x03C","C42x04C","C42x05C","C42x06C","C42x07C","C42x08C","C42x09C","C42x10C",
			"C42x11C","C42x12C","C42x13C","C42x14C","C42x15C","C42x16C","C42x17C","C42x18C","C42x19C","C42x20C",
			"C42x21C","C42x22C","C42x23C","C42x24C","C42x25C","C42x26C","C42x27C","C42x28C","C42x29C","C42x30C",
			"C42x31C","C42x32C","C42x33C","C42x34C","C42x35C","C42x36C","C42x37C","C42x38C","C42x39C","C42x40C",
			
			"C43x01C","C43x02C","C43x03C","C43x04C","C43x05C","C43x06C","C43x07C","C43x08C","C43x09C","C43x10C",
			"C43x11C","C43x12C","C43x13C","C43x14C","C43x15C","C43x16C","C43x17C","C43x18C","C43x19C","C43x20C",
			"C43x21C","C43x22C","C43x23C","C43x24C","C43x25C","C43x26C","C43x27C","C43x28C","C43x29C","C43x30C",
			"C43x31C","C43x32C","C43x33C","C43x34C","C43x35C","C43x36C","C43x37C","C43x38C","C43x39C","C43x40C",
			
			"C44x01","C44x02","C44x03","C44x04","C44x05","C44x06","C44x07","C44x08","C44x09","C44x10",
			"C44x11","C44x12","C44x13","C44x14","C44x15","C44x16","C44x17","C44x18","C44x19","C44x20",
			"C44x21","C44x22","C44x23","C44x24","C44x25","C44x26","C44x27","C44x28","C44x29","C44x30",
			"C44x31","C44x32","C44x33","C44x34","C44x35","C44x36","C44x37","C44x38","C44x39","C44x40",
			
			
			"A16","A18x01","A18x02","A18x03","A18x04","A18x05","A17","C28","C29","C30","C31","C32","C33","B36C","B37","B34C","B35",
			"D01","D09","D11","D12","D13","D14","D15","D16","D17","D18","D19","D19x01","D20","D20x01","D20x02","D21","D22","D23","D23x01",
			"D24","D25","D26","D27","D28","D29","D30","D31","D32","D33","D34"
			
	};
	
	
	


	// 入院记录
	public static final String[] EMR_ADMISSION_HEADER = { "patient_id", "visit_sn", "record_sn", "record_datetime",
			"medical_record_no", "kps_score", "ecog_score", "record_text", "chief_complaint", "current_medhistory",
			"past_medhistory", "personal_medhistory", "marriage_birth_history", "family_history", "menstrual_history",
			"systolic_pressure", "diastolic_pressure", "breath", "temperature", "heart_rate", "height", "weight",
			"body_surface_area", "physical_exam", "special_exam", "auxiliary_exam", "admission_maindiag_code1",
			"admission_maindiag_name1", "admission_diag_code2", "admission_diag_name2", "admission_diag_code3",
			"admission_diag_name3", "admission_diag_code4", "admission_diag_name4", "admission_diag_code5",
			"admission_diag_name5", "admission_diag_coden", "admission_diag_namen", "extend_data1", "extend_data2",
			"record_status" };

	// 病程记录
	public static final String[] EMR_PROCESS_HEADER = { "patient_id", "visit_sn", "record_sn", "record_datetime",
			"medical_record_no", "record_title_code", "record_title", "record_content", "extend_data1", "extend_data2",
			"record_status" };

	// 出院记录
	public static final String[] EMR_DISCHARGE_HEADER = { "patient_id", "visit_sn", "record_sn", "record_datetime",
			"medical_record_no", "patient_no", "admission_times", "admission_datetime", "discharge_order",
			"discharge_datetime", "length_of_stay", "kps_score", "ecog_score", "record_text", "admission_condition",
			"treatment_info", "discharge_condition", "admission_maindiag_code1", "admission_maindiag_name1",
			"admission_diag_code2", "admission_diag_name2", "admission_diag_code3", "admission_diag_name3",
			"admission_diag_code4", "admission_diag_name4", "admission_diag_code5", "admission_diag_name5",
			"admission_diag_coden", "admission_diag_namen", "discharge_maindiag_code1", "discharge_maindiag_name1",
			"discharge_diag_code2", "discharge_diag_name2", "discharge_diag_code3", "discharge_diag_name3",
			"discharge_diag_code4", "discharge_diag_name4", "discharge_diag_code5", "discharge_diag_name5",
			"discharge_diag_coden", "discharge_diag_namen", "extend_data1", "extend_data2", "record_status" };

	// 住院手术记录
	public static final String[] INPATIENT_SURGICAL_RECORD_HEADER = { "patient_id", "visit_sn", "record_sn",
			"record_datetime", "medical_record_no", "surgeon_no", "technical_title_name", "job_title_name",
			"executive_dept_code", "executive_dept_name", "operating_room_no", "operating_room_name", "surgery_code",
			"surgery_name", "start_datetime", "finish_datetime", "incision_type", "surgery_level", "surgical_approach",
			"antibiotic_proph_mark", "procedures_description", "anesthesia_type_code", "anesthesia_type",
			"anesthesia_asa", "anesthesia_start_time", "anesthesia_end_time", "intake_amount", "output_quantity",
			"blood_trans_abo", "blood_trans_rh", "blood_trans_component_code", "blood_trans_component",
			"blood_trans_quantity", "blood_loss_quantity", "output_urine_quantity", "presurgery_maindiag_code1",
			"presurgery_maindiag_name1", "presurgery_diag_code2", "presurgery_diag_name2", "presurgery_diag_code3",
			"presurgery_diag_name3", "presurgery_diag_code4", "presurgery_diag_name4", "presurgery_diag_code5",
			"presurgery_diag_name5", "intrasurgery_maindiag_code1", "intrasurgery_maindiag_name1",
			"intrasurgery_diag_code2", "intrasurgery_diag_name2", "intrasurgery_diag_code3", "intrasurgery_diag_name3",
			"intrasurgery_diag_code4", "intrasurgery_diag_name4", "intrasurgery_diag_code5", "intrasurgery_diag_name5",
			"postsurgery_maindiag_code1", "postsurgery_maindiag_name1", "postsurgery_diag_code2",
			"postsurgery_diag_name2", "postsurgery_diag_code3", "postsurgery_diag_name3", "postsurgery_diag_code4",
			"postsurgery_diag_name4", "postsurgery_diag_code5", "postsurgery_diag_name5", "extend_data1",
			"extend_data2", "record_status" };

	// 住院护理记录
	public static final String[] INPATIENT_NURSING_RECORD_HEADER = { "patient_id", "visit_sn", "record_sn",
			"medical_record_no", "dept_code", "dept_name", "bed_no", "record_datetime", "test_datetime", "test_method",
			"item_code", "item_name", "item_result_value1", "item_result_unit1", "item_result_value2",
			"item_result_unit2", "observation_measures", "extend_data1", "extend_data2", "record_status" };

	// 住院医嘱
	public static final String[] INPATIENT_ORDER_HEADER = { "patient_id", "visit_sn", "medical_record_no", "request_no",
			"order_sn", "order_datetime", "confirm_time", "visit_dept_code", "visit_dept_name", "order_dept_code",
			"order_dept_name", "order_doctor_no", "technical_title_name", "job_title_name", "order_last_type",
			"start_datetime", "finish_datetime", "order_class_code", "order_class_name", "order_item_code",
			"order_item_name", "order_group_no", "dose", "dose_unit", "drug_form", "frequency_code", "frequency_name",
			"route", "liquid_configuration", "injection_type", "drug_order", "drug_compatibility", "infusion_duration",
			"order_amount_num", "order_amount_unit", "herbal_note", "order_note", "executive_dept_code",
			"executive_dept_name", "extend_data1", "extend_data2", "record_status" };

	// 住院收费记录
	public static final String[] INPATIENT_EXPENSE_RECORD_HEADER = { "patient_id", "visit_sn", "medical_record_no",
			"order_sn", "order_last_type", "receipt_no", "expense_sn", "expense_datetime", "deal_type_code",
			"deal_type_name", "item_type_code", "item_type_name", "item_code", "item_name", "item_unit",
			"item_unit_price", "item_amount", "item_total_price", "extend_data1", "extend_data2", "record_status" };

	// 门诊信息记录
	public static final String[] OUTPATIENT_INFO_HEADER = { "patient_id", "visit_sn", "visit_type", "visit_card_no",
			"outpatient_no", "regis_sn", "visit_datetime", "first_visit_mark", "visit_num", "regis_method_code",
			"regis_method", "regis_type_code", "regis_type", "regis_raw_price", "regis_paid_price", "regis_dept_code",
			"regis_dept_name", "visit_doctor_no", "technical_title_name", "job_title_name", "extend_data1",
			"extend_data2", "record_status" };

	// 门诊疾病及病历记录
	public static final String[] OUTPATIENT_DIAG_MEDRECORD_HEADER = { "patient_id", "visit_sn", "visit_card_no",
			"outpatient_no", "visit_type", "visit_datetime", "record_datetime", "record_sn", "record_text",
			"treatment_info", "operation_info", "chief_complaint", "current_medhistory", "past_medhistory",
			"personal_medhistory", "marriage_birth_history", "family_history", "menstrual_history", "physical_exam",
			"tcm_disease_name", "tcm_syndrome_name", "diagnose_datetime", "maindiag_code1", "maindiag_name1",
			"diag_code2", "diag_name2", "diag_code3", "diag_name3", "diag_code4", "diag_name4", "diag_code5",
			"diag_name5", "diag_code6", "diag_name6", "diag_code7", "diag_name7", "diag_code8", "diag_name8",
			"diag_code9", "diag_name9", "diag_code10", "diag_name10", "diag_coden", "diag_namen", "extend_data1",
			"extend_data2", "record_status" };

	// 门诊医嘱及处方
	public static final String[] OUTPATIENT_ORDER_AND_PRES_HEADER = { "patient_id", "visit_sn", "visit_card_no",
			"outpatient_no", "visit_type", "request_no", "order_sn", "order_datetime", "visit_dept_code",
			"visit_dept_name", "order_dept_code", "order_dept_name", "order_doctor_no", "technical_title_name",
			"job_title_name", "executive_dept_code", "executive_dept_name", "prescription_class_code",
			"prescription_class_name", "order_class_code", "order_class_name", "order_item_code", "order_item_name",
			"order_group_no", "dose", "dose_unit", "drug_form", "frequency_code", "frequency", "route",
			"liquid_configuration", "injection_type", "drug_orde", "drug_compatibility", "infusion_duration",
			"use_of_days", "total_dose", "total_dose_unit", "order_amount_num", "order_amount_unit", "order_note",
			"herbal_note", "extend_data1", "extend_data2", "record_status" };

	// 门诊费用信息
	public static final String[] OUTPATIENT_EXPENSE_RECORD_HEADER = { "patient_id", "visit_sn", "visit_card_no",
			"outpatient_no", "visit_type", "order_sn", "receipt_no", "expense_sn", "expense_datetime", "deal_type_code",
			"deal_type_name", "item_type_code", "item_type_name", "item_code", "item_name", "item_unit",
			"item_unit_price", "item_amount", "item_total_price", "extend_data1", "extend_data2", "record_status" };

	// 临床检查记录
	public static final String[] EXAM_INFO_HEADER = { "patient_id", "visit_sn", "visit_card_no", "medical_record_no",
			"outpatient_no", "visit_type", "order_sn", "apply_datetime", "apply_no", "apply_dept_code",
			"apply_dept_name", "exam_datetime", "exam_item_code", "exam_item_name", "exam_sites", "report_datetime",
			"report_no", "report_dept_code", "report_dept_name", "exam_diag_description", "exam_diag_conclusion",
			"extend_data1", "extend_data2", "record_status" };

	// 实验室检查记录
	public static final String[] LAB_INFO_HEADER = { "patient_id", "visit_sn", "visit_card_no", "medical_record_no",
			"outpatient_no", "visit_type", "order_sn", "specimen_type_code", "specimen_type_name", "test_method_code",
			"test_method", "item_group_code", "item_group_name", "item_code", "item_name", "item_no",
			"result_quantitative", "result_qualitative", "result_unit", "reference_range", "reference_range_alert",
			"apply_datetime", "apply_no", "test_datetime", "report_datetime", "report_no", "bacteria_result",
			"antibiotic_result", "extend_data1", "extend_data2", "record_status" };

	// 病理检查信息
	public static final String[] PATHLOGICAL_EXAM_RECORD_HEADER = { "patient_id", "visit_sn", "visit_card_no",
			"medical_record_no", "outpatient_no", "visit_type", "order_sn", "apply_datetime", "apply_no",
			"pathology_no", "report_datetime", "report_no", "specimen_site", "specimen_obtain_method",
			"pathology_test_type_code", "pathology_test_type", "staging_version", "total_staging", "t_staging",
			"n_staging", "m_staging", "gross_description", "patho_diag_description", "patho_diag_conclusion",
			"separate_upload", "collected_datetime", "received_datetime", "extend_data1", "extend_data2",
			"record_status" };

	// 抗肿瘤药物采购清单
	public static final String[] DRUG_PURCHASE_HEADER = { "hos_d_id", "name_gen", "name_com", "ins_type", "form",
			"pro_dis", "spec", "pack_unit", "gb_no", "imdreg_no", "basic_unit", "trans_ratio", "manufac", "unit_price",
			"pur_qua", "pur_pri", "pur_date" };

	// 抗肿瘤药物使用清单
	public static final String[] DRUG_USE_HEADER = { "hos_d_id", "name_gen", "sell_qua", "sell_cou", "sell_unit",
			"sta_date" };

	public static Map<String, List<String>> DEPT_CODES_MAP = new HashMap<>();

	public static Map<String, List<String>> OPS_DEPT_CODES_MAP = new HashMap<>();

	// 术前住院天数较多的科室计算不包含以下科室
	public static List<String> PRE_OP_EXCLUDE_MORE_DEPTCODES = new ArrayList<>();

	// 术前住院天数较少的科室计算不包含以下科室
	public static List<String> PRE_OP_EXCLUDE_LESS_DEPTCODES = new ArrayList<>();

	// 术后住院天数较少的科室计算不包含以下科室
	// 东院保健神经科病房、保健神经科病房、内分泌科病房、东院心外监护室因手术量太少，该指标不适用
	public static List<String> AFTER_OP_EXCLUDE_LESS_DEPTCODES = new ArrayList<>();

	// 术后住院天数较多的科室计算不包含以下科室
	// 因小儿神经科病房、风湿免疫科、小儿呼吸综合科病房、小儿肾病风湿免疫科病房、东院保健呼吸科、外科ICU病房、血液科、保健内分泌科病房、全科医学科病房、保健呼吸科病房、东院血液科病房、神经内科病房、东院急诊ICU、保健外科病房虽然术后平均住院天是较高手术量太小，该指标不具代表性
	public static List<String> AFTER_OP_EXCLUDE_MORE_DEPTCODES = new ArrayList<>();

	static {
		List<String> list1 = new ArrayList<>();
		list1.add("103020111");
		list1.add("103020211");
		list1.add("203020011");
		list1.add("203110011");
		DEPT_CODES_MAP.put("消化内科", list1);
		List<String> list2 = new ArrayList<>();
		list2.add("103010011");
		list2.add("203010011");
		DEPT_CODES_MAP.put("呼吸与危重症医学科", list2);
		List<String> list3 = new ArrayList<>();
		list3.add("103050011");
		list3.add("203050011");
		DEPT_CODES_MAP.put("血液内科", list3);
		List<String> list4 = new ArrayList<>();
		list4.add("103070111");
		list4.add("203070011");
		DEPT_CODES_MAP.put("内分泌科", list4);
		List<String> list5 = new ArrayList<>();
		list5.add("103060011");
		list5.add("203060011");
		DEPT_CODES_MAP.put("肾内科", list5);
		List<String> list6 = new ArrayList<>();
		list6.add("103030011");
		list6.add("203030011");
		DEPT_CODES_MAP.put("神经内科", list6);
		List<String> list7 = new ArrayList<>();
		list7.add("103080011");
		list7.add("203080011");
		DEPT_CODES_MAP.put("风湿免疫科", list7);
		List<String> list8 = new ArrayList<>();
		list8.add("128000011");
		list8.add("228000011");
		list8.add("128000017");
		DEPT_CODES_MAP.put("内科ICU", list8);
		List<String> list9 = new ArrayList<>();
		list9.add("103020311");
		DEPT_CODES_MAP.put("感染性疾病科", list9);
		List<String> list10 = new ArrayList<>();
		list10.add("119010011");
		list10.add("119010012");
		list10.add("119020011");
		list10.add("119030011");
		list10.add("219000011");
		DEPT_CODES_MAP.put("肿瘤研究治疗中心", list10);
		List<String> list11 = new ArrayList<>();
		list11.add("203030111");
		DEPT_CODES_MAP.put("睡眠医学中心", list11);
		List<String> list12 = new ArrayList<>();
		list12.add("120000011");
		list12.add("120000013");
		list12.add("120000014");
		list12.add("120000015");
		list12.add("128000015");
		list12.add("220000011");
		list12.add("220000013");
		list12.add("220000015");
		list12.add("228000015");
		DEPT_CODES_MAP.put("急救中心", list12);
		List<String> list13 = new ArrayList<>();
		list13.add("103040111");
		list13.add("103040112");
		list13.add("103040211");
		list13.add("103040212");
		list13.add("128000016");
		list13.add("203040011");
		DEPT_CODES_MAP.put("心内科", list13);
		List<String> list14 = new ArrayList<>();
		list14.add("104060111");
		list14.add("128000014");
		list14.add("204060111");
		list14.add("228000014");
		DEPT_CODES_MAP.put("心外科", list14);
		List<String> list15 = new ArrayList<>();
		list15.add("104060211");
		list15.add("204060211");
		DEPT_CODES_MAP.put("血管外科", list15);
		List<String> list16 = new ArrayList<>();
		list16.add("105010011");
		list16.add("105010012");
		list16.add("205010011");
		DEPT_CODES_MAP.put("妇科", list16);
		List<String> list17 = new ArrayList<>();
		list17.add("105020011");
		list17.add("205020011");
		list17.add("205020012");
		DEPT_CODES_MAP.put("产科", list17);
		List<String> list18 = new ArrayList<>();
		list18.add("110000011");// 眼科病房
		list18.add("210000011");// 东院眼科病房

		DEPT_CODES_MAP.put("眼科", list18);
		List<String> list19 = new ArrayList<>();
		list19.add("112000011");// 口腔科病房
		list19.add("212050011");// 东院口腔科病房
		DEPT_CODES_MAP.put("口腔科", list19);
		List<String> list20 = new ArrayList<>();
		list20.add("104010111");
		list20.add("104010311");
		list20.add("204010311");
		list20.add("104010611");
		list20.add("104010211");
		list20.add("204010111");
		list20.add("153020011");
		list20.add("253020111");
		DEPT_CODES_MAP.put("普外科", list20);
		List<String> list21 = new ArrayList<>();
		list21.add("104040011");
		list21.add("104040111");
		list21.add("204040211");
		list21.add("204040212");
		list21.add("204040213");
		list21.add("253020411");
		DEPT_CODES_MAP.put("泌尿外科", list21);
		List<String> list22 = new ArrayList<>();
		list22.add("104020111");
		list22.add("104020211");
		list22.add("104020311");
		list22.add("204020011");
		DEPT_CODES_MAP.put("神经外科", list22);
		List<String> list23 = new ArrayList<>();
		list23.add("104050011");
		list23.add("104050111");
		list23.add("204050011");
		DEPT_CODES_MAP.put("胸外科", list23);
		List<String> list24 = new ArrayList<>();
		list24.add("104030311");
		list24.add("204030311");
		list24.add("104030111");
		list24.add("104030411");
		list24.add("204030111");
		list24.add("204030112");
		list24.add("204030211");
		list24.add("204030212");
		DEPT_CODES_MAP.put("骨科", list24);
		List<String> list25 = new ArrayList<>();
		list25.add("104030511");
		list25.add("204030511");
		list25.add("204030512");
		DEPT_CODES_MAP.put("手足外科", list25);
		List<String> list26 = new ArrayList<>();
		list26.add("104070211");
		list26.add("104080011");
		DEPT_CODES_MAP.put("烧伤整形外科", list26);
		List<String> list27 = new ArrayList<>();
		list27.add("127000011");
		DEPT_CODES_MAP.put("疼痛科", list27);
		List<String> list28 = new ArrayList<>();
		list28.add("128000012");
		DEPT_CODES_MAP.put("外科ICU", list28);
		List<String> list29 = new ArrayList<>();
		list29.add("153010111");
		list29.add("153010711");
		list29.add("153010311");
		list29.add("153010211");
		list29.add("153010411");
		list29.add("153110011");
		list29.add("253010111");
		list29.add("253010311");
		list29.add("253010211");
		list29.add("253010411");
		list29.add("253110011");
		DEPT_CODES_MAP.put("保健科", list29);
		List<String> list30 = new ArrayList<>();
		list30.add("111010111");
		list30.add("111000011");
		list30.add("253070011");
		DEPT_CODES_MAP.put("耳鼻喉科", list30);
		List<String> list31 = new ArrayList<>();
		list31.add("107050011");
		list31.add("107070011");
		list31.add("107080011");
		list31.add("107010011");
		list31.add("207010011");
		list31.add("107060011");
		list31.add("107040011");
		list31.add("128000013");
		list31.add("207000011");
		DEPT_CODES_MAP.put("儿内科", list31);
		List<String> list32 = new ArrayList<>();
		list32.add("108020011");// 儿外骨科病房
		list32.add("108030011");// 儿外泌外病房
		list32.add("108020011");// 儿外普外病房
		list32.add("108010011");// 小儿普外科病房
		DEPT_CODES_MAP.put("儿外科", list32);
		List<String> list33 = new ArrayList<>();
		list33.add("150180011");
		list33.add("150180012");
		list33.add("108020011");
		DEPT_CODES_MAP.put("中医科", list33);
		List<String> list34 = new ArrayList<>();
		list34.add("150140011");
		DEPT_CODES_MAP.put("推拿科", list34);
		List<String> list35 = new ArrayList<>();
		list35.add("113000011");
		DEPT_CODES_MAP.put("皮肤科", list35);

		// 手术科室
		OPS_DEPT_CODES_MAP.put("心外科", list14);
		OPS_DEPT_CODES_MAP.put("血管外科", list15);
		OPS_DEPT_CODES_MAP.put("妇科", list16);
		OPS_DEPT_CODES_MAP.put("产科", list17);
		OPS_DEPT_CODES_MAP.put("眼科", list18);
		OPS_DEPT_CODES_MAP.put("口腔科", list19);
		OPS_DEPT_CODES_MAP.put("普外科", list20);
		OPS_DEPT_CODES_MAP.put("泌尿外科", list21);
		OPS_DEPT_CODES_MAP.put("神经外科", list22);
		OPS_DEPT_CODES_MAP.put("胸外科", list23);
		OPS_DEPT_CODES_MAP.put("骨科", list24);
		OPS_DEPT_CODES_MAP.put("手足外科", list25);
		OPS_DEPT_CODES_MAP.put("烧伤整形外科", list26);
		OPS_DEPT_CODES_MAP.put("疼痛科", list27);
		OPS_DEPT_CODES_MAP.put("耳鼻喉科", list30);
		OPS_DEPT_CODES_MAP.put("儿外科", list32);

		PRE_OP_EXCLUDE_MORE_DEPTCODES.add("203030111");
		PRE_OP_EXCLUDE_MORE_DEPTCODES.add("203050011");
		PRE_OP_EXCLUDE_MORE_DEPTCODES.add("228000014");
		PRE_OP_EXCLUDE_MORE_DEPTCODES.add("153020011");
		PRE_OP_EXCLUDE_MORE_DEPTCODES.add("107060011");

		AFTER_OP_EXCLUDE_LESS_DEPTCODES.add("153010311");
		AFTER_OP_EXCLUDE_LESS_DEPTCODES.add("253010311");
		AFTER_OP_EXCLUDE_LESS_DEPTCODES.add("228000014");
		AFTER_OP_EXCLUDE_LESS_DEPTCODES.add("103070111");

		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("107080011");// 小儿神经科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("107040011");// 小儿呼吸综合科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("107060011");// 小儿肾病风湿免疫科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("103080011");// 风湿免疫科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("253010111");// 东院保健呼吸科（病房）
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("128000012");// 外科ICU病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("103050011");// 血液科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("153010711");// 保健内分泌科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("102000011");// 全科医学科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("153010111");// 保健呼吸科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("203050011");// 东院血液科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("103030011");// 神经内科病房
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("228000015");// 东院急诊ICU
		AFTER_OP_EXCLUDE_MORE_DEPTCODES.add("153020011");// 保健外科病房

		PRE_OP_EXCLUDE_LESS_DEPTCODES.add("153010311");// 保健神经科病房
		PRE_OP_EXCLUDE_LESS_DEPTCODES.add("153010711");// 保健内分泌病房
		PRE_OP_EXCLUDE_LESS_DEPTCODES.add("253010311");// 东院保健神经内科病房
		PRE_OP_EXCLUDE_LESS_DEPTCODES.add("253010111");// 东院保健呼吸病房
		PRE_OP_EXCLUDE_LESS_DEPTCODES.add("107080011");// 小儿神经科病房
		PRE_OP_EXCLUDE_LESS_DEPTCODES.add("103070111");// 内分泌科病房指的的内分泌一病房103070111
		PRE_OP_EXCLUDE_LESS_DEPTCODES.add("113000011");// 皮肤科病房

	}

	// 20个重点病种相关指标
	public static final String[] MAIN_TOP20_DIAGS = { "急性心肌梗死", "充血性心力衰竭", "脑出血和脑梗死", "创伤性颅脑损伤", "消化道出血", "累及身体多个部位的损伤",
			"肺炎（成人）", "慢性阻塞性肺疾病", "糖尿病伴短期并发症", "糖尿病伴长期并发症", "结节性甲状腺肿", "急性阑尾炎伴弥漫性腹膜炎及脓肿", "前列腺增生", "肾衰竭", "败血症", "高血压病",
			"急性胰腺炎", "恶性肿瘤化疗（住院）", "下肢骨与关节损伤", "哮喘（成人）", "肺炎（儿童）" };

	// 20个重点手术
	public static final String[] MAIN_TOP20_OPERATION = { "髋、膝关节置换术", "椎板切除术或脊柱融合相关手术", "骨折、关节切开复位内固定术", "颅、脑手术",
			"经皮颅内外动脉介入治疗", "冠状动脉旁路移植术（CABG）", "经皮冠状动脉介入治疗（PCI）", "心脏瓣膜置换术", "食管切除手术", "肺切除术", "胰腺切除手术", "胃切除术", "直肠切除术",
			"胆囊相关手术", "乳腺相关手术", "肾与前列腺相关手术", "血管内修补相关术", "子宫切除术", "剖宫产", "阴道分娩" };

	// 16个重点肿瘤非手术治疗
	public static final String[] MAJOR_TUMOUR_TOP16_NON_OPERATION_CURE = { "肺癌", "结直肠癌", "胃癌", "乳腺癌", "肝癌", "食管癌",
			"胰腺癌", "膀胱癌", "肾癌", "宫颈癌", "甲状腺癌", "喉癌", "卵巢癌", "前列腺癌", "鼻咽癌", "淋巴瘤" };

	// 14个重点恶性肿瘤手术治疗
	public static final String[] MAJOR_TUMOUR_TOP14_OPERATION_CURE = { "肺癌", "结直肠癌", "胃癌", "乳腺癌", "肝癌", "食管癌", "胰腺癌",
			"膀胱癌", "肾癌", "宫颈癌", "甲状腺癌", "喉癌", "卵巢癌", "前列腺癌" };

	public static final String[] JCA_HEADER = { "onlyId", "mrId", "inTimes", "idCard", "name", "inDept", "outDept",
			"diagType", "diagDoctor", "diagCode", "diagName", "Ops_doctor", "ops_code", "opsName", "cost_01",
			"cost_02", "cost_03", "cost_04", "cost_05", "cost_06", "cost_07", "cost_08", "cost_09", "cost_10",
			"cost_11", "cost_12", "cost_13", "cost_14", "cost_15", "cost_16", "cost_17", "cost_18", "cost_19",
			"cost_20", "cost_21", "cost_22", "cost_23", "cost_24", "cost_25", "cost_26", "cost_27", "cost_28",
			"cost_29", "cost_30", "ORDER_NO", "ORDER_NAME", "DRUG_DOSAGE", "DRUG_USE_UNIT", "ORDER_TIME_HIS",
			"START_TIME_HIS", "STOP_TIME_HIS", "ORDER_CLASSIFICATION_NAME", "DRUG_FREQUENCY_NAME", "DRUG_ROUTE_NAME",
			"ORDER_TYPE_NAME"

	};

	public static final String[] JCA_TITLE = { "唯一标识", "病案号", "住院次数", "身份证号", "姓名", "入院科室", "出院科室", "诊断类型", "诊断原始描述",
			"诊断编码", "诊断名称", "手术原始描述", "手术编码", "手术名称", "总费用", "自付金额", "一般医疗服务费", "一般治疗操作费", "护理费", "其他综合医疗服务类费用",
			"病理诊断费", "实验室诊断费", "影像学诊断费", "临床诊断项目费", "非手术治疗项目费", "临床物理治疗费", "手术治疗费", "麻醉费", "手术费", "康复费", "中医治疗费", "西药费",
			"抗菌药物费用", "中成药费", "中草药费", "血费", "白蛋白类制品费", "球蛋白类制品费", "凝血因子类制品费", "细胞因子类制品费", "检查用一次性医用材料费", "治疗用一次性医用材料费",
			"手术用一次性医用材料费", "其他费用", "医嘱号", "医嘱内容", "药品一次使用剂量", "药品剂量单位", "下达医嘱时间", "医嘱开始时间", "医嘱结束时间", "医嘱分类", "医嘱频次",
			"药品使用方法", "医嘱类型"
	};

}
